package com.pub;

public class MyJson {
	// {\"statusCode\":200,\"message\":\"登陆成功\",\"callbackType\":\"forward\",\"forwardUrl\":\"/Home/Welcome.do\"}
	private int statusCode = 200;
	private String message = "";
	private String callbackType = "forward";
	private String forwardUrl = "";

	public int getStatusCode() {
		return statusCode;
	}

	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getCallbackType() {
		return callbackType;
	}

	public void setCallbackType(String callbackType) {
		this.callbackType = callbackType;
	}

	public String getForwardUrl() {
		return forwardUrl;
	}

	public void setForwardUrl(String forwardUrl) {
		this.forwardUrl = forwardUrl;
	}

	public String getJson() {
		String str = "{\"statusCode\":" + String.valueOf(statusCode)
				+ ",\"message\":\"" + message + "\",\"callbackType\":\""
				+ callbackType + "\",\"forwardUrl\":\"" + forwardUrl + "\"}";
		return str;
	}
}
